package com.heima.Output;

import java.io.FileOutputStream;
import java.io.IOException;

public class FileOutputStreamDemo03 {
    public static void main(String [] args) throws IOException {
        String path = "day10/src/com/heima/data/test3.txt";
        FileOutputStream fos = new FileOutputStream(path);
        for (int i = 0; i < 5; i++) {
            fos.write("hello".getBytes());
            fos.write("\r\n".getBytes());
        }

        fos.close();
    }
}
